package com.lesales.service.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.lesales.dao.interfaces.IRoleFunctionDao;
import com.lesales.model.RoleFunction;
import com.lesales.service.interfaces.IRoleFunctionService;

@Service
public class RoleFunctionServiceImpl extends BaseServiceImpl<RoleFunction, Serializable>
		implements IRoleFunctionService {

	@Autowired
	@Qualifier("roleFunctionDaoImpl")
	private IRoleFunctionDao roleFunctionDao;

	@Override
	public List<RoleFunction> findFunctionByRoleId(int roleId) {
		// TODO Auto-generated method stub
		return roleFunctionDao.findFunctionByRoleId(roleId);
	}

}
